﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ICalendar
{
    /// <summary>
    /// To specify the participation role for the calendar user specified by the property. 
    /// </summary>
    /// <remarks>
    /// The property parameter is defined by the following notation:
    ///
    ///  roleparam  = "ROLE" "="
    ///              ("CHAIR"               ; Indicates chair of the
    ///                                     ; calendar entity
    ///             / "REQ-PARTICIPANT"     ; Indicates a participant whose
    ///                                     ; participation is required
    ///             / "OPT-PARTICIPANT"     ; Indicates a participant whose
    ///                                     ; participation is optional
    ///             / "NON-PARTICIPANT"     ; Indicates a participant who is
    ///                                     ; copied for information
    ///                                     ; purposes only
    ///             / x-name                ; Experimental role
    ///             / iana-token)           ; Other IANA role
    ///  ; Default is REQ-PARTICIPANT
    /// </remarks>
    public enum Role
    {
        /// <summary>
        /// Indicates chair of the calendar entity
        /// </summary>
        Chair,
        /// <summary>
        /// Indicates a participant whose participation is required
        /// </summary>
        Required,
        /// <summary>
        ///  ; Indicates a participant whose participation is optional
        /// </summary>
        Optional,
        /// <summary>
        /// Indicates a participant who is copied for information purposes only
        /// </summary>
        None       
    }
}
